package com.zhang.gulimall.common.annotation;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)

@EnableRabbit
@EnableCaching
@EnableFeignClients
@EnableRedisHttpSession
@EnableTransactionManagement
@EnableAspectJAutoProxy(exposeProxy = true)
public @interface EnableServer {
    String value() default "";
}
